﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using RIDA.Globals;
using System.Windows;

namespace RIDA.Studio.ViewModels
{
    public class MainMenuViewModel : ViewModelBase
    {
        public MainMenuViewModel()
        {

        }
      

      
        private ICommand exitAppCommand;
        public ICommand ExitAppCommand
        {
            get
            {
                if (exitAppCommand == null)
                    exitAppCommand = new DelegateCommand(ExitApp);
                return exitAppCommand;
            }
        }
       

        

        private void ExitApp(object parameter)
        {
            Application.Current.Shutdown();
        }
    }
}
